package cc.mrbird.febs.business.service;

import cc.mrbird.febs.accounting.dto.detailCost.TreeDTO;
import cc.mrbird.febs.business.entity.Business;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface IBusinessService extends IService<Business> {
    Boolean add(Business business);
    Boolean update(Business business);
    Boolean remove(Business business);
    List<TreeDTO> listTreeData(String type);
    List<TreeDTO> treeData(String type, String name);
}
